const sync.mutexWoken
8 uses
sync (current package)
mutex.go#L49: mutexWoken
mutex.go#L132: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L133: atomic.CompareAndSwapInt32(&m.state, old, old|mutexWoken) {
mutex.go#L159: if new&mutexWoken == 0 {
mutex.go#L162: new &^= mutexWoken
mutex.go#L181: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
mutex.go#L242: if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 {
mutex.go#L246: new = (old - 1<<mutexWaiterShift) | mutexWoken
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |